import 'package:app/core/rtc/base/base_socket.dart';

abstract class BaseP2PClient {
  BaseSocket _baseSocket;

  BaseP2PClient(this._baseSocket);

  call(String peerID, String type);

  endCall(String peerID) {}

  switchCamera() {}

  /// 麦克风操作
  muteMicroPhone() {}

  /// 喇叭操作
  muteSpeaker() {}

  /// 录制音频
  startRecordAudio() {}

  stopRecordAudio() {}

  /// 录制视频
  startRecordVideo() {}

  stopRecordVideo() {}

  /// 截屏
  captureFrame() {}
}
